// 冰柜
const stack = []

stack.push('东北大板')
stack.push('可爱多')
stack.push('巧乐兹')
stack.push('兵工厂')

while (stack.length) {
  const top = stack[stack.length - 1]
  console.log('现在取出的冰棍是：', top);
  stack.pop()
}

